package com.lingnan.eduservice.service;

import com.lingnan.eduservice.entity.po.EduVideoPO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author zzd
 * @since 2021-08-17
 */
public interface EduVideoService extends IService<EduVideoPO> {
    /**
     * 根据小节ID删除小节功能
     * @param videoId
     */
    void deleteVideoById(String videoId);

    /**
     * 根据课程ID删除课程所有小节、视频信息
     * @param courseId
     */
    void deleteVideoByCourseId(String courseId);
}
